package com.ddstation.sewage.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ddstation.common.model.InvsCheckCommonSchParModel;
import com.ddstation.sewage.model.SewageDetailParModel;
import com.ddstation.sewage.model.SewageDetailResModel;
import com.ddstation.sewage.model.SewageResModel;

public interface SewageMapper {
	
	// 查询
	public List<SewageResModel> selectInstitutionSewageList(InvsCheckCommonSchParModel _in);
	
	// 明细查询
	public List<SewageDetailResModel> selectDetail(SewageDetailParModel _in);
	
	// 查询卫监对诊所是否有权限访问
	public int selectAccessAuthorityInstitution(
            @Param("invsInstitutionId") String invsInstitutionId,
            @Param("institutionId") String institutionId);
}
